var arr = [1, 2, 3]
var obj = {}
var t = typeof arr

console.log(obj instanceof Array)

var a = Array.isArray(obj)
console.log(a, '------')